<!DOCTYPE HTML>
<html>
<head>
<style>
span { display:inline-block; width:50px; height:10px; background:yellow; }
</style>
</head>
<body style="width:100px; border:1px solid black;">
<span></span>
<div style="float:left; width:50px; height:50px; background:green;"></div>
</body>
</html>
